package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
@Schema(description = "分数表单对象")
@Data
public class ScoreForm {
    @Schema(description = "分数ID")
    private Long id;

    @Schema(description = "考试时间")
    private String examDateTime;

    @Schema(description = "培训地点ID")
    @NotNull(message = "培训地点不能为空")
    private Long locationId;

    @Schema(description = "车组号")
    private String carGroupNumber;

    @Schema(description = "内训师")
    @NotNull(message = "内训师不能为空")
    private Long teacherId;

    @Schema(description = "培训司机工号")
    @NotNull(message = "培训司机工号不能为空")
    private String studentCode;

//    @Schema(description = "培训司机")
//    private Long studentId;

    @Schema(description = "备注")
    private String content;

    @Schema(description = "故障名称")
    @NotNull(message = "故障名称不能为空")
    private Long courseId;

    @Schema(description = "问题分类")
    @NotNull(message = "问题分类不能为空")
    private Long questionId;

    @Schema(description = "具体问题项点")
    private String questionContent;

    @Schema(description = "整改措施")
    @NotNull(message = "整改措施不能为空")
    private Long measureId;

    @Schema(description = "分数")
    @NotNull(message = "分数不能为空")
    private Integer score;

    @Schema(description = "问题项数")
    @NotNull(message = "问题项数不能为空")
    private Integer questionCount;

    @Schema(description = "职级ID")
    private Long gradeId;

    @Schema(description = "频次")
    private Integer frequency;

    @Schema(description = "指标")
    private Integer quota;
}
